<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: contracts/dice/dice.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_df9ec5dd3eb98ed2672871667d1ff010.html">dice</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">dice.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="dice_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacedice.html">dice</a> {</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html">    8</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1offer__bet.html">offer_bet</a> {</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html#ad777bd036a0b12139b1311b7b3deb8f1">    9</a></span>&#160;      eosio::tokens   <a class="code" href="structdice_1_1offer__bet.html#ad777bd036a0b12139b1311b7b3deb8f1">amount</a>;</div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html#a1f0a6ea64b8192dcdaf4f063252027d1">   10</a></span>&#160;      <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>  <a class="code" href="structdice_1_1offer__bet.html#a1f0a6ea64b8192dcdaf4f063252027d1">player</a>;</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c">   11</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>       <a class="code" href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c">commitment</a>;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;   };</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structdice_1_1cancel__offer.html">   14</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1cancel__offer.html">cancel_offer</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structdice_1_1cancel__offer.html#a14df5b5eeabe4e42e2cd17ac9444b6dd">   15</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>  <a class="code" href="structdice_1_1cancel__offer.html#a14df5b5eeabe4e42e2cd17ac9444b6dd">commitment</a>;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;   };</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structdice_1_1reveal.html">   18</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1reveal.html">reveal</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structdice_1_1reveal.html#a6d4041dc4497a38b77f1b2c78d77f94c">   19</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>  <a class="code" href="structdice_1_1reveal.html#a6d4041dc4497a38b77f1b2c78d77f94c">commitment</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structdice_1_1reveal.html#a26e3faa41f7e661b1041a79772b6c9f6">   20</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>  <a class="code" href="structdice_1_1reveal.html#a26e3faa41f7e661b1041a79772b6c9f6">source</a>;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;   };</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structdice_1_1claim__expired.html">   23</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1claim__expired.html">claim_expired</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structdice_1_1claim__expired.html#abb0ae435213c7e74f388634e61aae159">   24</a></span>&#160;      <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> gameid = 0;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;   };</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">   27</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">eos_tokens</a> = eosio::tokens;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structdice_1_1offer__primary__key.html">   29</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1offer__primary__key.html">offer_primary_key</a> {</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structdice_1_1offer__primary__key.html#aff9213f8c3b02c4af9ed8c4460da9472">   30</a></span>&#160;      <a class="code" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">eos_tokens</a>          <a class="code" href="structdice_1_1offer__primary__key.html#aff9213f8c3b02c4af9ed8c4460da9472">bet</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structdice_1_1offer__primary__key.html#ad060fb372bea546f038f1a14b11b9d82">   31</a></span>&#160;      <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>        <a class="code" href="structdice_1_1offer__primary__key.html#ad060fb372bea546f038f1a14b11b9d82">owner</a>;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;   };</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">   47</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">PACKED</a>( offer ) {</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;      <a class="code" href="structdice_1_1offer__primary__key.html">offer_primary_key</a>  <a class="code" href="test__db_8cpp.html#af15b5e608a0fbe8c184ab90b3791413f">primary</a>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;      <a class="code" href="structuint256.html">uint256</a>            <a class="code" href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c">commitment</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>           gameid = 0;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;   };</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structdice_1_1player.html">   53</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="structdice_1_1player.html">player</a> {</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structdice_1_1player.html#ac64356c3447cc8ed8a66f9ba2550b357">   54</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>     <a class="code" href="structdice_1_1player.html#ac64356c3447cc8ed8a66f9ba2550b357">commitment</a>;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structdice_1_1player.html#a762fbafc70af24093a84ca8c05f2da0a">   55</a></span>&#160;      <a class="code" href="structuint256.html">uint256</a>     <a class="code" href="structdice_1_1player.html#a762fbafc70af24093a84ca8c05f2da0a">reveal</a>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;   };</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="namespacedice.html#a0f2c13b9ffd49b4e908b2379d60e178b">   61</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">PACKED</a>( game ) {</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>   gameid;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      <a class="code" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">eos_tokens</a> bet;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;      <a class="code" href="group__types.html#ga44479e2657d126b44ca53d30c3e670d8">time</a>       deadline;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;      <a class="code" href="structdice_1_1player.html">player</a>     player1;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;      <a class="code" href="structdice_1_1player.html">player</a>     player2;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;   };</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="namespacedice.html#a13e6b8e97200662cbe81f254caa068e6">   69</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a13e6b8e97200662cbe81f254caa068e6">Packed</a>( global_dice ) {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> nextgameid = 0;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;   };</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="namespacedice.html#a2762e8dab591e9c0df8bc8d20496dca4">   74</a></span>&#160;   <span class="keyword">struct </span><a class="code" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">PACKED</a>( <a class="code" href="structaccount.html">account</a> ) {</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;      <a class="code" href="structaccount.html">account</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> o = <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>() ):owner(o){}</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;      <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>        owner;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;      <a class="code" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">eos_tokens</a>          eos_balance;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>            open_offers = 0;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      <span class="keywordtype">bool</span> is_empty()<span class="keyword">const </span>{ <span class="keywordflow">return</span> ! ( bool(eos_balance) |  open_offers); }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;   };</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="namespacedice.html#ac6fcf433d5a29141110b932a34f28383">   84</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="structeosio_1_1table.html">accounts</a> = <a class="code" href="structeosio_1_1table.html">eosio::table&lt;N(dice),N(dice),N(account),account,uint64_t&gt;</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="namespacedice.html#a94d807a8b3909ac9587169845f671951">   85</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="structeosio_1_1table.html">global_dices</a> = <a class="code" href="structeosio_1_1table.html">eosio::table&lt;N(dice),N(dice),N(global),global_dice,uint64_t&gt;</a>;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="namespacedice.html#a34385e2eead0de37a8d80374ce2532cd">   86</a></span>&#160;   <span class="keyword">using</span> <a class="code" href="structeosio_1_1table.html">offers</a> = <a class="code" href="structeosio_1_1table.html">eosio::table&lt;N(dice),N(dice),N(global),global_dice,offer_primary_key,uint128_t&gt;</a>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="namespacedice.html#ae09b3a3f877447164f939f485592fc91">   88</a></span>&#160;   <span class="keyword">inline</span> <a class="code" href="structaccount.html">account</a> <a class="code" href="namespacedice.html#ae09b3a3f877447164f939f485592fc91">get_account</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner ) {</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;      <a class="code" href="structaccount.html">account</a> owned_account(owner);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      <a class="code" href="structeosio_1_1table.html#aa21c1502397afb2cd3952e799fc391c0">accounts::get</a>( owned_account );</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;      <span class="keywordflow">return</span> owned_account;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;   }</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;};</div><div class="ttc" id="structdice_1_1offer__bet_html_a6152a62e3303f0cae43d6ae214c0f85c"><div class="ttname"><a href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c">dice::offer_bet::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:11</div></div>
<div class="ttc" id="structaccount_html"><div class="ttname"><a href="structaccount.html">account</a></div><div class="ttdef"><b>Definition:</b> social.cpp:43</div></div>
<div class="ttc" id="group__types_html_ga3b44deb4b3b8d6ebab339d1263692117"><div class="ttname"><a href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a></div><div class="ttdeci">uint64_t account_name</div><div class="ttdef"><b>Definition:</b> types.h:35</div></div>
<div class="ttc" id="namespacedice_html_a3f9aeffca709aa6f21dbd29235e7e445"><div class="ttname"><a href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">dice::PACKED</a></div><div class="ttdeci">struct PACKED(offer)</div><div class="ttdef"><b>Definition:</b> dice.hpp:47</div></div>
<div class="ttc" id="namespacedice_html_a13e6b8e97200662cbe81f254caa068e6"><div class="ttname"><a href="namespacedice.html#a13e6b8e97200662cbe81f254caa068e6">dice::Packed</a></div><div class="ttdeci">struct Packed(global_dice)</div><div class="ttdef"><b>Definition:</b> dice.hpp:69</div></div>
<div class="ttc" id="structdice_1_1cancel__offer_html"><div class="ttname"><a href="structdice_1_1cancel__offer.html">dice::cancel_offer</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:14</div></div>
<div class="ttc" id="structdice_1_1offer__primary__key_html"><div class="ttname"><a href="structdice_1_1offer__primary__key.html">dice::offer_primary_key</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:29</div></div>
<div class="ttc" id="group__types_html_gaaa5d1cd013383c889537491c3cfd9aad"><div class="ttname"><a href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a></div><div class="ttdeci">unsigned long long uint64_t</div><div class="ttdef"><b>Definition:</b> types.h:18</div></div>
<div class="ttc" id="structdice_1_1reveal_html_a26e3faa41f7e661b1041a79772b6c9f6"><div class="ttname"><a href="structdice_1_1reveal.html#a26e3faa41f7e661b1041a79772b6c9f6">dice::reveal::source</a></div><div class="ttdeci">uint256 source</div><div class="ttdef"><b>Definition:</b> dice.hpp:20</div></div>
<div class="ttc" id="structdice_1_1reveal_html"><div class="ttname"><a href="structdice_1_1reveal.html">dice::reveal</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:18</div></div>
<div class="ttc" id="structuint256_html"><div class="ttname"><a href="structuint256.html">uint256</a></div><div class="ttdef"><b>Definition:</b> types.h:29</div></div>
<div class="ttc" id="group__types_html_ga44479e2657d126b44ca53d30c3e670d8"><div class="ttname"><a href="group__types.html#ga44479e2657d126b44ca53d30c3e670d8">time</a></div><div class="ttdeci">uint32_t time</div><div class="ttdef"><b>Definition:</b> types.h:39</div></div>
<div class="ttc" id="namespacedice_html_ae09b3a3f877447164f939f485592fc91"><div class="ttname"><a href="namespacedice.html#ae09b3a3f877447164f939f485592fc91">dice::get_account</a></div><div class="ttdeci">account get_account(account_name owner)</div><div class="ttdef"><b>Definition:</b> dice.hpp:88</div></div>
<div class="ttc" id="structdice_1_1reveal_html_a6d4041dc4497a38b77f1b2c78d77f94c"><div class="ttname"><a href="structdice_1_1reveal.html#a6d4041dc4497a38b77f1b2c78d77f94c">dice::reveal::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:19</div></div>
<div class="ttc" id="structdice_1_1offer__primary__key_html_ad060fb372bea546f038f1a14b11b9d82"><div class="ttname"><a href="structdice_1_1offer__primary__key.html#ad060fb372bea546f038f1a14b11b9d82">dice::offer_primary_key::owner</a></div><div class="ttdeci">account_name owner</div><div class="ttdef"><b>Definition:</b> dice.hpp:31</div></div>
<div class="ttc" id="group__types_html_ga06896e8c53f721507066c079052171f8"><div class="ttname"><a href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a></div><div class="ttdeci">unsigned long uint32_t</div><div class="ttdef"><b>Definition:</b> types.h:19</div></div>
<div class="ttc" id="structdice_1_1player_html_ac64356c3447cc8ed8a66f9ba2550b357"><div class="ttname"><a href="structdice_1_1player.html#ac64356c3447cc8ed8a66f9ba2550b357">dice::player::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:54</div></div>
<div class="ttc" id="structdice_1_1player_html"><div class="ttname"><a href="structdice_1_1player.html">dice::player</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:53</div></div>
<div class="ttc" id="namespacedice_html"><div class="ttname"><a href="namespacedice.html">dice</a></div><div class="ttdef"><b>Definition:</b> dice.cpp:6</div></div>
<div class="ttc" id="structdice_1_1offer__bet_html_ad777bd036a0b12139b1311b7b3deb8f1"><div class="ttname"><a href="structdice_1_1offer__bet.html#ad777bd036a0b12139b1311b7b3deb8f1">dice::offer_bet::amount</a></div><div class="ttdeci">eosio::tokens amount</div><div class="ttdef"><b>Definition:</b> dice.hpp:9</div></div>
<div class="ttc" id="structdice_1_1offer__primary__key_html_aff9213f8c3b02c4af9ed8c4460da9472"><div class="ttname"><a href="structdice_1_1offer__primary__key.html#aff9213f8c3b02c4af9ed8c4460da9472">dice::offer_primary_key::bet</a></div><div class="ttdeci">eos_tokens bet</div><div class="ttdef"><b>Definition:</b> dice.hpp:30</div></div>
<div class="ttc" id="structeosio_1_1table_html"><div class="ttname"><a href="structeosio_1_1table.html">eosio::table</a></div><div class="ttdef"><b>Definition:</b> db.hpp:179</div></div>
<div class="ttc" id="structdice_1_1player_html_a762fbafc70af24093a84ca8c05f2da0a"><div class="ttname"><a href="structdice_1_1player.html#a762fbafc70af24093a84ca8c05f2da0a">dice::player::reveal</a></div><div class="ttdeci">uint256 reveal</div><div class="ttdef"><b>Definition:</b> dice.hpp:55</div></div>
<div class="ttc" id="structdice_1_1claim__expired_html"><div class="ttname"><a href="structdice_1_1claim__expired.html">dice::claim_expired</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:23</div></div>
<div class="ttc" id="structdice_1_1cancel__offer_html_a14df5b5eeabe4e42e2cd17ac9444b6dd"><div class="ttname"><a href="structdice_1_1cancel__offer.html#a14df5b5eeabe4e42e2cd17ac9444b6dd">dice::cancel_offer::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:15</div></div>
<div class="ttc" id="structdice_1_1offer__bet_html"><div class="ttname"><a href="structdice_1_1offer__bet.html">dice::offer_bet</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:8</div></div>
<div class="ttc" id="test__db_8cpp_html_af15b5e608a0fbe8c184ab90b3791413f"><div class="ttname"><a href="test__db_8cpp.html#af15b5e608a0fbe8c184ab90b3791413f">primary</a></div><div class="ttdeci">int primary[11]</div><div class="ttdef"><b>Definition:</b> test_db.cpp:8</div></div>
<div class="ttc" id="structdice_1_1offer__bet_html_a1f0a6ea64b8192dcdaf4f063252027d1"><div class="ttname"><a href="structdice_1_1offer__bet.html#a1f0a6ea64b8192dcdaf4f063252027d1">dice::offer_bet::player</a></div><div class="ttdeci">account_name player</div><div class="ttdef"><b>Definition:</b> dice.hpp:10</div></div>
<div class="ttc" id="namespacedice_html_a4ae1a0587cb1215cd3f3f8b64fbd3761"><div class="ttname"><a href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761">dice::eos_tokens</a></div><div class="ttdeci">eosio::tokens eos_tokens</div><div class="ttdef"><b>Definition:</b> dice.hpp:27</div></div>
<div class="ttc" id="structeosio_1_1table_html_aa21c1502397afb2cd3952e799fc391c0"><div class="ttname"><a href="structeosio_1_1table.html#aa21c1502397afb2cd3952e799fc391c0">eosio::table::get</a></div><div class="ttdeci">static bool get(const PrimaryType &amp;p, Record &amp;r, uint64_t s=scope)</div><div class="ttdoc">Fetches a record from the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:377</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
